import { applyDecorators,UseGuards } from "@nestjs/common"; // 聚合装饰器
import { AuthGuard } from "@nestjs/passport";

export function Auth(){
    return applyDecorators(UseGuards(AuthGuard('jwt')))
}
